﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace THE_WIND_RISES.Common.Domans.OutboundOrder
{
    /// <summary>
    /// 出库表
    /// </summary>
    public class OutBound:Entity
    {
        /// <summary>
        /// 出库主键
        /// </summary>
        [Key]
        public int BoundId { get; set; }
        /// <summary>
        /// 出库单编码
        /// </summary>
        public string BoundNo { get; set; }
        /// <summary>
        /// 出库类型
        /// </summary>
        public int BoundType { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public int WarehouseId { get; set; }
        /// <summary>
        /// 仓库地址
        /// </summary>
        public string WarehouseAddress { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string BoundRemark { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 出库来源
        /// </summary>
        public int BoundSource { get; set; }
        /// <summary>
        /// 来源头编码
        /// </summary>
        public string SourceNo { get; set; }
        /// <summary>
        /// 来源头名称
        /// </summary>
        public string SourceName { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public string Customer { get; set; }
        /// <summary>
        /// 客户联系人
        /// </summary>
        public string Contacts { get; set; }
        /// <summary>
        /// 出库日期
        /// </summary>
        public DateTime BoundDate { get; set; }
        /// <summary>
        /// 出库状态
        /// </summary>
        public int BoundState { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string BoundPeople { get; set; }
        /// <summary>
        /// 制单部门
        /// </summary>
        public string BoundDepartment { get; set; }
    }
}
